import React from 'react'


function NewsListFunc(props) {
  console.log(props)
  return (
    props.list.map(item =>
    <div>
      <li>【新闻标题】:{item.title}</li>
      <li>【新闻作者】:{item.author}</li>
      <li>【新闻内容】:{item.content}</li>
    </div>
    )
  )
}



export default NewsListFunc
